package cn.village.dao;
import cn.village.entity.IncomeAndExpenditure;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IncomeAndExpenditureMapper {

	public IncomeAndExpenditure getIncomeAndExpenditureById(@Param(value = "id") String id)throws Exception;

	public List<IncomeAndExpenditure>	getIncomeAndExpenditureListByMap(Map<String,Object> param)throws Exception;

	public Integer getIncomeAndExpenditureCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertIncomeAndExpenditure(IncomeAndExpenditure incomeAndExpenditure)throws Exception;

	public Integer updateIncomeAndExpenditure(IncomeAndExpenditure incomeAndExpenditure)throws Exception;

	public Integer deleteIncomeAndExpenditureById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteIncomeAndExpenditure(Map<String,List<String>> params);

}